<meta charset="UTF-8">
<div class="container">
	<form action="aaa" class="form-inline">
		<div class="form-group" style="margin-top: 20px">
			<label>选择班级：</label> 
			<input class="form-combobox" name="banji" id="banji" type="text" 
				data-options="
					url:'banji/list',
					valueField:'id',
					textField:'name',
					panelHeight:200,
					editable:false,
					icons:[{
						iconCls:'icon-clear',
						handler:function(e){
							$(e.data.target).textbox('clear');
							$('#table').hide();
						}
					}],
				"
			/>
		</div>
	</form>
	<div id="table"></div>
</div>
<script type="text/javascript">
		$('#banji').combobox({
			onchange:function(e){
/* 				var bjId=e.id; */
				if(e){
					$('#table').show();
					$('#table').load('grade/bjChange',{bjId:e},function(){
					});
				}else{
					$('#table').hide();
				}
			}
		});
</script>